from config.config import HOST
from selenium.webdriver.common.by import By
class BasePage():
    url='/crm/index.php?m=user&a=login'
    def __init__(self,driver):
        self.driver = driver
        self.url = 'http://{}{}'.format(HOST,self.url)

    def open(self):
        self.driver.get(self.url)

    def current_url(self):
        return self.driver.current_url





